package com.sleepfish.generator.mapper;

import com.sleepfish.generator.domain.GenDatabaseInfo;
import com.sleepfish.generator.domain.GenTable;
import com.sleepfish.generator.domain.GenTableColumn;

import java.util.List;

/**
 * @author fumingchao
 * @Description: 添加数据库表信息
 * @date 2022/2/17 19:22
 */
public interface GenDatabaseInfoMapper {

    /**
     * 保存添加数据库表信息
     */
    void saveInfo(GenDatabaseInfo genDatabaseInfo);

    /**
     * 查找所有数据库表信息
     */
    List<GenTable> selectDbTableList(GenTable genTable);

    List<GenDatabaseInfo> importTableList(String tables);

    List<GenTable> selectGenTableList(GenTable genTable);
}
